package com.topisv.tms.service.md;

import com.topisv.tms.rest.entity.md.request.TransferData;
import com.topisv.tms.rest.entity.md.response.Response;

/**
 * 回调函数
 *  Date          Author       Version       Description
 * ----------------------------------------------------------
 *  2015-1-8      CC            1.0           Create
 */
public interface MdCallBack {
	/**
	 * 业务逻辑在这里实现
	 * @param transferData
	 * @return Response
	 */
	Response doBusiness(TransferData transferData) throws Exception;

	void doResponse(Response response) throws Exception;
}
